//
//  InspectCell.m
//  LuCaiZhu
//
//  Created by 邓龙 on 2019/4/17.
//

#import "InspectCell.h"

@interface InspectCell()
@property (weak, nonatomic) IBOutlet UILabel *dateLab;
@property (weak, nonatomic) IBOutlet UILabel *classLab;
@property (weak, nonatomic) IBOutlet UILabel *amount;
@property (weak, nonatomic) IBOutlet UILabel *share;
@property (weak, nonatomic) IBOutlet UILabel *selectLab;

@end

@implementation InspectCell

- (void)awakeFromNib {
    [super awakeFromNib];
    self.selectionStyle = UITableViewCellSelectionStyleNone;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

- (void)setInspectData:(NSDictionary *)dic {
    _dateLab.text = dic[@"TransactionDate"];
    _classLab.text = dic[@"TransactionType"];
    _amount.text = dic[@"TransactionAmount"];
    _share.text = dic[@"TransactionShare"];
}

- (void)setSelectData:(NSDictionary *)dic {
    _selectLab.text = dic[@"ProductName"];
}

@end
